package com.qr.bean.wmyh;

import java.sql.Timestamp;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 13:03:40
 * 分离出查询实体
 */
@ApiModel(value = "jbr_user_score_list", description = "会员积分记录")
@TableName(value = "jbr_user_score_list")
public class JbrUserScoreListView implements Serializable {
	@ApiModelProperty(value = "编号")
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "编号不能为空")
	private Integer id;
	@ApiModelProperty(value = "会员ID")
	@TableField(value="user_id")
	private Integer user_id;
	@ApiModelProperty(value = "1获得积分            2使用积分            3售后退款扣除            4订单取消返还积分            5扣减积分            6签到送积分")
	@TableField(value="score_type")
	private Integer score_type;
	@ApiModelProperty(value = "正数 为获得积分                        负数 为扣除积分")
	@TableField(value="score")
	private Integer score;
	@ApiModelProperty(value = "使用描述")
	@TableField(value="score_desc")
	private String score_desc;
	@ApiModelProperty(value = "时间")
	@TableField(value="add_time")
	private Timestamp add_time;
	@ApiModelProperty(value = "关联订单号")
	@TableField(value="order_id")
	private Integer order_id;
	@ApiModelProperty(value = "变动后总积分")
	@TableField(value="traded_score")
	private Integer traded_score;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
 
	public Integer getScore_type() {
		return score_type;
	}
	public void setScore_type(Integer score_type) {
		this.score_type = score_type;
	}
 
	public Integer getScore() {
		return score;
	}
	public void setScore(Integer score) {
		this.score = score;
	}
 
	public String getScore_desc() {
		return score_desc;
	}
	public void setScore_desc(String score_desc) {
		this.score_desc = score_desc;
	}
 
	public Timestamp getAdd_time() {
		return add_time;
	}
	public void setAdd_time(Timestamp add_time) {
		this.add_time = add_time;
	}
 
	public Integer getOrder_id() {
		return order_id;
	}
	public void setOrder_id(Integer order_id) {
		this.order_id = order_id;
	}
 
	public Integer getTraded_score() {
		return traded_score;
	}
	public void setTraded_score(Integer traded_score) {
		this.traded_score = traded_score;
	}

}